package com.spzx.product.api.factory;

import com.spzx.common.core.domain.R;
import com.spzx.product.api.RemoteSkuStockService;
import com.spzx.product.vo.SkuLockVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: atguigu
 * @create: 2025-02-28 11:03
 */
@Slf4j
@Component
public class RemoteSkuStockServiceImpl implements RemoteSkuStockService {
    @Override
    public R<String> checkAndLock(String orderNo, List<SkuLockVo> skuLockVoList, String source) {
        log.error("[商品服务]提供远程调用检查锁定库存方法：{}执行服务降级", "checkAndLock");
        return null;
    }
}
